Optimal. Leaf size=110 \[ -\frac{\sqrt{c} (3 b B-5 A c) \tan ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{b^{7/2}}-\frac{3 b B-5 A c}{b^3 \sqrt{x}}+\frac{3 b B-5 A c}{3 b^2 c x^{3/2}}-\frac{b B-A c}{b c x^{3/2} (b+c x)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.137408, antiderivative size = 110, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227 \[ -\frac{\sqrt{c} (3 b B-5 A c) \tan ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{b^{7/2}}-\frac{3 b B-5 A c}{b^3 \sqrt{x}}+\frac{3 b B-5 A c}{3 b^2 c x^{3/2}}-\frac{b B-A c}{b c x^{3/2} (b+c x)} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)/(Sqrt[x]*(b*x + c*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.9075, size = 97, normalized size = 0.88 \[ \frac{A c - B b}{b c x^{\frac{3}{2}} \left (b + c x\right )} - \frac{5 A c - 3 B b}{3 b^{2} c x^{\frac{3}{2}}} + \frac{5 A c - 3 B b}{b^{3} \sqrt{x}} + \frac{\sqrt{c} \left (5 A c - 3 B b\right ) \operatorname{atan}{\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}} \right )}}{b^{\frac{7}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)/(c*x**2+b*x)**2/x**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.184391, size = 92, normalized size = 0.84 \[ \frac{\sqrt{c} (5 A c-3 b B) \tan ^{-1}\left (\frac{\sqrt{c} \sqrt{x}}{\sqrt{b}}\right )}{b^{7/2}}+\frac{A \left (-2 b^2+10 b c x+15 c^2 x^2\right )-3 b B x (2 b+3 c x)}{3 b^3 x^{3/2} (b+c x)} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)/(Sqrt[x]*(b*x + c*x^2)^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.026, size = 113, normalized size = 1. \[ -{\frac{2\,A}{3\,{b}^{2}}{x}^{-{\frac{3}{2}}}}+4\,{\frac{Ac}{\sqrt{x}{b}^{3}}}-2\,{\frac{B}{\sqrt{x}{b}^{2}}}+{\frac{A{c}^{2}}{{b}^{3} \left ( cx+b \right ) }\sqrt{x}}-{\frac{Bc}{{b}^{2} \left ( cx+b \right ) }\sqrt{x}}+5\,{\frac{A{c}^{2}}{{b}^{3}\sqrt{bc}}\arctan \left ({\frac{c\sqrt{x}}{\sqrt{bc}}} \right ) }-3\,{\frac{Bc}{{b}^{2}\sqrt{bc}}\arctan \left ({\frac{c\sqrt{x}}{\sqrt{bc}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)/(c*x^2+b*x)^2/x^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((c*x^2 + b*x)^2*sqrt(x)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.313601, size = 1, normalized size = 0.01 \[ \left [-\frac{4 \, A b^{2} + 6 \,{\left (3 \, B b c - 5 \, A c^{2}\right )} x^{2} + 3 \,{\left ({\left (3 \, B b c - 5 \, A c^{2}\right )} x^{2} +{\left (3 \, B b^{2} - 5 \, A b c\right )} x\right )} \sqrt{x} \sqrt{-\frac{c}{b}} \log \left (\frac{c x + 2 \, b \sqrt{x} \sqrt{-\frac{c}{b}} - b}{c x + b}\right ) + 4 \,{\left (3 \, B b^{2} - 5 \, A b c\right )} x}{6 \,{\left (b^{3} c x^{2} + b^{4} x\right )} \sqrt{x}}, -\frac{2 \, A b^{2} + 3 \,{\left (3 \, B b c - 5 \, A c^{2}\right )} x^{2} - 3 \,{\left ({\left (3 \, B b c - 5 \, A c^{2}\right )} x^{2} +{\left (3 \, B b^{2} - 5 \, A b c\right )} x\right )} \sqrt{x} \sqrt{\frac{c}{b}} \arctan \left (\frac{b \sqrt{\frac{c}{b}}}{c \sqrt{x}}\right ) + 2 \,{\left (3 \, B b^{2} - 5 \, A b c\right )} x}{3 \,{\left (b^{3} c x^{2} + b^{4} x\right )} \sqrt{x}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((c*x^2 + b*x)^2*sqrt(x)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)/(c*x**2+b*x)**2/x**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.269698, size = 115, normalized size = 1.05 \[ -\frac{{\left (3 \, B b c - 5 \, A c^{2}\right )} \arctan \left (\frac{c \sqrt{x}}{\sqrt{b c}}\right )}{\sqrt{b c} b^{3}} - \frac{B b c \sqrt{x} - A c^{2} \sqrt{x}}{{\left (c x + b\right )} b^{3}} - \frac{2 \,{\left (3 \, B b x - 6 \, A c x + A b\right )}}{3 \, b^{3} x^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)/((c*x^2 + b*x)^2*sqrt(x)),x, algorithm="giac")
[Out]